package com.xqboss.apps.domain.nft;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xqboss.common.annotation.Excel;
import com.xqboss.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 作者对象 nft_author
 *
 * @author xqboss
 * @date 2023-08-03
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("nft_author")
public class NftAuthor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 作者名称
     */
    @Excel(name = "作者名称")
    private String name;

    /**
     * 作者描述
     */
    @Excel(name = "作者描述")
    private String description;

    /**
     * 作者头像
     */
    @Excel(name = "作者头像")
    private String headimg;

    /**
     * 作者图集
     */
    @Excel(name = "作者图集")
    private String imgs;

    private Date deleteTime;

    /**
     * 前端传递关键字
     */
    @TableField(exist = false)
    private String keyword;

}

